<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      NcFTP-3.2.6
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;15.&nbsp;Networking Programs
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="iw.html" title="iw-5.4">Prev</a>
          <p>
            iw-5.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="net-tools.html" title=
          "Net-tools-CVS_20101030">Next</a>
          <p>
            Net-tools-CVS_20101030
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netprogs.html" title=
          "Chapter&nbsp;15.&nbsp;Networking Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="ncftp" name="ncftp"></a>NcFTP-3.2.6
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to NcFTP
        </h2>
        <p>
          The <span class="application">NcFTP</span> package contains a
          powerful and flexible interface to the Internet standard File
          Transfer Protocol. It is intended to replace or supplement the
          stock <span class="command"><strong>ftp</strong></span> program.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.xz">ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 42d0f896d69a4d603ec097546444245f
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 412 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 6.6 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          NcFTP Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/llvm.html" title=
          "LLVM-10.0.0">LLVM-10.0.0</a> (with Clang, used by default if
          installed)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/ncftp">http://wiki.linuxfromscratch.org/blfs/wiki/ncftp</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of NcFTP
        </h2>
        <p>
          There are two ways to build <span class="application">NcFTP</span>.
          The first (and optimal) way builds most of the functionality as a
          shared library and then builds and installs the program linked
          against this library. The second method simply links all of the
          functionality into the binary statically. This doesn't make the
          dynamic library available for linking by other applications. You
          need to choose which method best suits you. Note that the second
          method does <span class="emphasis"><em>not</em></span> create an
          entirely statically linked binary; only the <code class=
          "filename">libncftp</code> parts are statically linked in, in this
          case. Be aware that building and using the shared library is
          covered by the Clarified Artistic License; however, developing
          applications that utilize the shared library is subject to a
          different license.
        </p>
        <p>
          To install <span class="application">NcFTP</span> using the first
          (and optimal) method, run the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make -C libncftp shared &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make -C libncftp soinstall &amp;&amp;
make install</kbd>
</pre>
        <p>
          To install <span class="application">NcFTP</span> using the second
          method (with the <code class="filename">libncftp</code>
          functionality linked in statically) run the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="userinput">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>make -C ... &amp;&amp; make -C
          ...</strong></span>: These commands make and install the dynamic
          library <code class="filename">libncftp</code> which is then used
          to link against when compiling the main program.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring NcFTP
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="ncftp-config" name="ncftp-config"></a>
          </h3>
          <h4 class="title">
            <a id="ncftp-config" name="ncftp-config"></a>Config Files
          </h4>
          <p>
            <code class="filename">/etc/ncftp.*</code> and <code class=
            "filename">~/.ncftp/*</code>; especially <code class=
            "filename">/etc/ncftp.prefs_v3</code> and <code class=
            "filename">~/.ncftp/prefs_v3</code>
          </p>
        </div>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm140006442125280" name=
            "idm140006442125280"></a>Configuration Information
          </h4>
          <p>
            Most <span class="application">NcFTP</span> configuration is done
            while in the program, and the configuration files are dealt with
            automatically. One exception to this is <code class=
            "filename">~/.ncftp/prefs_v3</code>. There are various options to
            alter in there, including:
          </p>
          <pre class="screen">
<code class="literal">yes-i-know-about-NcFTPd=yes</code>
</pre>
          <p>
            This disables the splash screen advertising the <span class=
            "application">NcFTPd</span> server.
          </p>
          <p>
            There are other options in the <code class=
            "filename">prefs_v3</code> file. Most of these are
            self-explanatory. Global defaults can be set in <code class=
            "filename">/etc/ncftp.prefs_v3</code>.
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">ncftp, ncftpbatch, ncftpbookmarks,
              ncftpget, ncftpls, ncftpput, and ncftpspooler</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libncftp.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="ncftp-prog" name="ncftp-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>ncftp</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a browser program for File Transfer Protocol.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ncftpbatch" name="ncftpbatch"></a><span class=
                    "term"><span class=
                    "command"><strong>ncftpbatch</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an individual batch FTP job processor.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ncftpbookmarks" name=
                    "ncftpbookmarks"></a><span class="term"><span class=
                    "command"><strong>ncftpbookmarks</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the <span class="application">NcFTP</span> Bookmark
                    Editor (<span class="application">NCurses</span>-based).
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ncftpget" name="ncftpget"></a><span class=
                    "term"><span class=
                    "command"><strong>ncftpget</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an internet file transfer program for scripts used to
                    retrieve files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ncftpls" name="ncftpls"></a><span class=
                    "term"><span class=
                    "command"><strong>ncftpls</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an internet file transfer program for scripts used to
                    list files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ncftpput" name="ncftpput"></a><span class=
                    "term"><span class=
                    "command"><strong>ncftpput</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an internet file transfer program for scripts used to
                    transfer files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ncftpspooler" name="ncftpspooler"></a><span class=
                    "term"><span class=
                    "command"><strong>ncftpspooler</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a global batch FTP job processor daemon.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-22 10:52:07 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="iw.html" title="iw-5.4">Prev</a>
          <p>
            iw-5.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="net-tools.html" title=
          "Net-tools-CVS_20101030">Next</a>
          <p>
            Net-tools-CVS_20101030
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netprogs.html" title=
          "Chapter&nbsp;15.&nbsp;Networking Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
